/*

 */
package javaapplication5.model;

/**
 *
 * @author mathieubakrim
 */
public class SimpleContact implements Contact{

    private String lastName ="";
    private String firstName ="";
    private String phoneNumber ="";
    private String addressPro ="";
    private String addressPer ="";
    private String homePage ="";
    private String emailPro ="";
    private String emailPer ="";
    private String group ="";
    //private Object photo;
    
    
    public SimpleContact() {
    }

    SimpleContact(String ln, String fn, String pn, String ap, String ape, String hp,
            String ep, String epe, String gr) {
        this.lastName = ln;
        this.firstName = fn;
        this.phoneNumber = pn;
        this.addressPro = ap;
        this.addressPer = ape;
        this.homePage = hp;
        this.emailPro = ep;
        this.emailPer = epe;
        this.group = gr;
        System.out.println("testSimple " + this.toString());               
    }
    
    
    @Override
    public String toString() {
        return "SimpleContact{" + "lastName=" + lastName + ", firstName=" + firstName 
                + ", phoneNumber=" + phoneNumber + ", addressPro=" + addressPro 
                + ", addressPer=" + addressPer + ", homePage=" + homePage 
                + ", emailPro=" + emailPro + ", emailPer=" + emailPer + '}' + ", group=" + group;
    }
    
       
    //GETTERS & SETTERS
    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getAddressPro() {
        return addressPro;
    }

    public void setAddressPro(String addressPro) {
        this.addressPro = addressPro;
    }

    public String getAddressPer() {
        return addressPer;
    }

    public void setAddressPer(String addressPer) {
        this.addressPer = addressPer;
    }

    public String getHomePage() {
        return homePage;
    }

    public void setHomePage(String homePage) {
        this.homePage = homePage;
    }

    public String getEmailPro() {
        return emailPro;
    }

    public void setEmailPro(String emailPro) {
        this.emailPro = emailPro;
    }

    public String getEmailPer() {
        return emailPer;
    }

    public void setEmailPer(String emailPer) {
        this.emailPer = emailPer;
    }


        
      
}
